﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Net;
using System.Threading.Tasks;
namespace Skynet.LiteWebClientTest.LiteForm
{
    [TestClass]
    public class ExamCategoryMaintenanceTest
    {
        [TestMethod]
        public void LoadTest()
        {
            Parallel.For(0, 30,
                delegate(int param)
                {
                    for (int i = 0; i < 30; i++)
                    {
                        System.Net.WebClient client = new WebClient();
                        client.DownloadString("http://localhost:26283/Administration/MaintenanceExamCategory.aspx");    
                    }                    
                });
        }
    }
}
